package service;

import org.apache.ibatis.annotations.Param;
import pojo.Memberinfo;

import java.util.List;

public interface MemberService {
    //  用户登录
    Memberinfo login(@Param("name") String name, @Param("password") String password);
    List<Memberinfo> allMember();
    List<Memberinfo> findMemberBySearch(String mname,int typeId);
}
